﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Demo.TspDemo.ServiceSSVG;
using Osm.Routing.Route;
using Tools.Math.Geo;
namespace Net_Trading
{
    class Singleton
    {
        private readonly static Singleton instance = new Singleton();
      
           private Employer emp;
           private bool modif;
           private int id;
           private Chauffeur chauff;
           private OsmSharpRoute route;
           private int nbNotif;
           private List<GeoCoordinate> lesposition;

           public List<GeoCoordinate> Lesposition
           {
               get { return lesposition; }
               set { lesposition = value; }
           }
           public int NbNotif
           {
               get { return nbNotif; }
               set { nbNotif = value; }
           }
           public OsmSharpRoute Route
           {
               get { return route; }
               set { route = value; }
           }
           public Chauffeur Chauff
           {
               get { return chauff; }
               set { chauff = value; }
           }
           public int Id
           {
               get { return id; }
               set { id = value; }
           }
           public bool Modif
           {
               get { return modif; }
               set { modif = value; }
           }
           public Employer Emp
           {
               get { return emp; }
               set { emp = value; }
           }
                             
           
        private Singleton()
        {
        }

        public static Singleton Instance
        {
            get { return instance; }
        }
    }
}


